﻿@using System.Configuration
@model WikeSoft.Enterprise.Models.Sys.LoginModel
@{
    ViewBag.Title = "Home Page";
    Layout = null;
    string v = ConfigurationManager.AppSettings["version"];
}

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>@ViewBag.SystemTitle - 登录</title>
    <link href="/Content/login.css?v=@v" rel="stylesheet" />
    <link href="~/Content/components/bootstrap/dist/css/bootstrap.css?v=@v" rel="stylesheet" />
    <link rel="stylesheet" href="/Content/components/font-awesome/css/font-awesome.css?v=@v" />
    <script src="/Scripts/jquery-1.10.2.js?v=@v"></script>
    <script src="~/Content/components/html5shiv/dist/html5shiv.js?v=@v"></script>
    <script src="~/Scripts/jquery.placeholder.min.js?v=@v"></script>
    <script charset="UTF-8" id="LA_COLLECT" src="//sdk.51.la/js-sdk-pro.min.js"></script>
    <script>LA.init({ id: "JiNjx3UBDiqcMRub", ck: "JiNjx3UBDiqcMRub" })</script>
</head>

<body>
    <div class="bg"><img src="/Content/image/login_bg.jpg" /></div>
    <div class="login_text">
        @ViewBag.SystemTitle
    </div>
    <div class="login_text_author">
        --成都惟科软件有限公司
    </div>


    <div class="login_text_alter">

        <span style="color:red">请用下面的用户名和密码登录进行体验</span>
    </div>
    <div class="login_text_loginusertext">

        <table class="table">
            <tr><td>用户名</td><td>密码</td></tr>
            <tr><td>一部员工</td><td>1</td></tr>
            <tr><td>一部项目经理</td><td>1</td></tr>
            <tr><td>研发部门主管</td><td>1</td></tr>
            <tr><td>总经理</td><td>1</td></tr>
            <tr><td>行政</td><td>1</td></tr>
        </table>
    </div>

    @using (Html.BeginForm("Login", "Home", FormMethod.Post, new { @class = "form-inline" }))
    {
        <div class="login">
            <div class="form-group">
                <div class="input-group">
                    <div class="input-group-addon">
                        <i class="fa fa-user-o" aria-hidden="true"></i>
                    </div>
                    @Html.TextBoxFor(x => x.UserName, new { @class = "form-control", style = "width: 180px", placeholder = "请输入用户名" })

                </div>




            </div>

            <div class="form-group">
                <div class="input-group">
                    <div class="input-group-addon">
                        <i class="fa fa-key" aria-hidden="true"></i>
                    </div>
                    @Html.PasswordFor(x => x.Password, new { @class = "form-control", style = "width: 180px", placeholder = "请输入密码" })

                </div>
            </div>
            <div class="form-group">
                <button type="submit" class="btn btn-primary">登录</button>
            </div>

            @Html.ValidationMessageFor(x => x.UserName)
            @Html.ValidationMessageFor(x => x.Password)
            @Html.ValidationMessageFor(x => x.LoginError)
        </div>


    }

    <div class="footer">
        <div class="content">
            <a href="https://beian.miit.gov.cn/" target="_blank">蜀ICP备16000581号-1 </a>
            <a target="_blank" title="51la网站统计" href="https://v6.51.la/land/JiNjx3UBDiqcMRub">51LA统计</a>
        </div>

    </div>
</body>
</html>
<script type="text/javascript">
    if (top.location !== self.location) {
        top.location = self.location;
    }
    $(function () {
        $('input, textarea').placeholder();
    });

</script> 